<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>QCNSim: QcnSim/NormalTrafficGenerator.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">QCNSim
   </div>
   <div id="projectbrief">Simulator for Quake-Catcher Network</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d21be12960473ba5c51e5f9beea3525e.html">QcnSim</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">NormalTrafficGenerator.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_normal_traffic_generator_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_traffic_generator_8h.html">TrafficGenerator.h</a>&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_event_type_8h.html">EventType.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_normal_traffic_generator.html">   34</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_normal_traffic_generator.html">NormalTrafficGenerator</a>: <span class="keyword">public</span> <a class="code" href="class_traffic_generator.html">TrafficGenerator</a> {</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_normal_traffic_generator.html#acab5cd436f7786b81663c6d08cc65187">   36</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_normal_traffic_generator.html#acab5cd436f7786b81663c6d08cc65187">mean</a>;  </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_normal_traffic_generator.html#a5f6e17e292cfb3aab008aa45c65f64d0">   37</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_normal_traffic_generator.html#a5f6e17e292cfb3aab008aa45c65f64d0">standardDeviation</a>;  </div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_normal_traffic_generator.html#af01d82d12fa9a38c3ea4470872ad2628">generateNormalVariate</a>();</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <a class="code" href="class_normal_traffic_generator.html#ae5e9f8a537daf8edeff7a38203ab8263">NormalTrafficGenerator</a>(<a class="code" href="class_simulator_globals.html">SimulatorGlobals</a> &amp;<a class="code" href="class_traffic_generator.html#a42261ccf207f61a401473a106bc0bae3">simulatorGlobals</a>, <a class="code" href="class_scheduler.html">Scheduler</a> &amp;<a class="code" href="class_traffic_generator.html#a9569cd494b926b84f384c7380349d51a">scheduler</a>, <a class="code" href="_event_type_8h.html#a2628ea8d12e8b2563c32f05dc7fff6fa">EventType</a> <a class="code" href="class_traffic_generator.html#a84eef27cdbfa66bbf8c14e0128196a62">eventType</a>, std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">tokenContents</a>,</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#a4f69b85034831c2c40e789b0c0e11511">source</a>, std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#a6ba09ea9c5df93de64af75886df0b11b">destination</a>, <span class="keywordtype">int</span> <a class="code" href="class_traffic_generator.html#a2158c9e714171e5a04032571021b23c4">priority</a>, <span class="keywordtype">double</span> <a class="code" href="class_normal_traffic_generator.html#acab5cd436f7786b81663c6d08cc65187">mean</a>, <span class="keywordtype">double</span> <a class="code" href="class_normal_traffic_generator.html#a5f6e17e292cfb3aab008aa45c65f64d0">standardDeviation</a>);</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <a class="code" href="class_normal_traffic_generator.html#ae5e9f8a537daf8edeff7a38203ab8263">NormalTrafficGenerator</a>(<a class="code" href="class_simulator_globals.html">SimulatorGlobals</a> &amp;<a class="code" href="class_traffic_generator.html#a42261ccf207f61a401473a106bc0bae3">simulatorGlobals</a>, <a class="code" href="class_scheduler.html">Scheduler</a> &amp;<a class="code" href="class_traffic_generator.html#a9569cd494b926b84f384c7380349d51a">scheduler</a>, <a class="code" href="_event_type_8h.html#a2628ea8d12e8b2563c32f05dc7fff6fa">EventType</a> <a class="code" href="class_traffic_generator.html#a84eef27cdbfa66bbf8c14e0128196a62">eventType</a>, std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">tokenContents</a>,</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#a4f69b85034831c2c40e789b0c0e11511">source</a>, std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#a6ba09ea9c5df93de64af75886df0b11b">destination</a>, <span class="keywordtype">int</span> <a class="code" href="class_traffic_generator.html#a2158c9e714171e5a04032571021b23c4">priority</a>, <span class="keywordtype">double</span> <a class="code" href="class_normal_traffic_generator.html#acab5cd436f7786b81663c6d08cc65187">mean</a>, <span class="keywordtype">double</span> <a class="code" href="class_normal_traffic_generator.html#a5f6e17e292cfb3aab008aa45c65f64d0">standardDeviation</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> seed);</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    std::shared_ptr&lt;Token&gt; <a class="code" href="class_normal_traffic_generator.html#ab3c4fe2057fcc782ea29e1242e968b93">createInstanceTrafficEvent</a>(<span class="keywordtype">bool</span> recordRoute = <span class="keyword">false</span>) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    std::shared_ptr&lt;Token&gt; <a class="code" href="class_normal_traffic_generator.html#ab3c4fe2057fcc782ea29e1242e968b93">createInstanceTrafficEvent</a>(std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">tokenContents</a>, <span class="keywordtype">bool</span> recordRoute = <span class="keyword">false</span>) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    std::shared_ptr&lt;Token&gt; <a class="code" href="class_normal_traffic_generator.html#ab3c4fe2057fcc782ea29e1242e968b93">createInstanceTrafficEvent</a>(std::vector&lt;std::shared_ptr&lt;Entity&gt;&gt; explicitRoute, <span class="keywordtype">bool</span> recordRoute = <span class="keyword">false</span>) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    std::shared_ptr&lt;Token&gt; <a class="code" href="class_normal_traffic_generator.html#ab3c4fe2057fcc782ea29e1242e968b93">createInstanceTrafficEvent</a>(std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">tokenContents</a>, std::vector&lt;std::shared_ptr&lt;Entity&gt;&gt; explicitRoute, <span class="keywordtype">bool</span> recordRoute = <span class="keyword">false</span>) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    std::shared_ptr&lt;ProtocolDataUnit&gt; <a class="code" href="class_normal_traffic_generator.html#abfa4b83707426afdfdb7f3c830d6827c">createInstanceTrafficEventPdu</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> pduSize, <span class="keywordtype">bool</span> recordRoute = <span class="keyword">false</span>) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    std::shared_ptr&lt;ProtocolDataUnit&gt; <a class="code" href="class_normal_traffic_generator.html#abfa4b83707426afdfdb7f3c830d6827c">createInstanceTrafficEventPdu</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> pduSize, std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">tokenContents</a>, <span class="keywordtype">bool</span> recordRoute = <span class="keyword">false</span>) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    std::shared_ptr&lt;ProtocolDataUnit&gt; <a class="code" href="class_normal_traffic_generator.html#abfa4b83707426afdfdb7f3c830d6827c">createInstanceTrafficEventPdu</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> pduSize, std::vector&lt;std::shared_ptr&lt;Entity&gt;&gt; explicitRoute, <span class="keywordtype">bool</span> recordRoute = <span class="keyword">false</span>) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    std::shared_ptr&lt;ProtocolDataUnit&gt; <a class="code" href="class_normal_traffic_generator.html#abfa4b83707426afdfdb7f3c830d6827c">createInstanceTrafficEventPdu</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> pduSize, std::shared_ptr&lt;Entity&gt; <a class="code" href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">tokenContents</a>, std::vector&lt;std::shared_ptr&lt;Entity&gt;&gt; explicitRoute, <span class="keywordtype">bool</span> recordRoute = <span class="keyword">false</span>) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_normal_traffic_generator.html#a61f85ab8041283918d9cd81c3bdb2925">getMean</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_normal_traffic_generator.html#a05e3ebd3e2116b635c233e6eb385e300">getStandardDeviation</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;};</div>
<div class="ttc" id="_event_type_8h_html"><div class="ttname"><a href="_event_type_8h.html">EventType.h</a></div></div>
<div class="ttc" id="_event_type_8h_html_a2628ea8d12e8b2563c32f05dc7fff6fa"><div class="ttname"><a href="_event_type_8h.html#a2628ea8d12e8b2563c32f05dc7fff6fa">EventType</a></div><div class="ttdeci">EventType</div><div class="ttdoc">EventType enum class. </div><div class="ttdef"><b>Definition:</b> <a href="_event_type_8h_source.html#l00029">EventType.h:29</a></div></div>
<div class="ttc" id="class_scheduler_html"><div class="ttname"><a href="class_scheduler.html">Scheduler</a></div><div class="ttdoc">Scheduler class. </div><div class="ttdef"><b>Definition:</b> <a href="_scheduler_8h_source.html#l00058">Scheduler.h:58</a></div></div>
<div class="ttc" id="class_normal_traffic_generator_html_ae5e9f8a537daf8edeff7a38203ab8263"><div class="ttname"><a href="class_normal_traffic_generator.html#ae5e9f8a537daf8edeff7a38203ab8263">NormalTrafficGenerator::NormalTrafficGenerator</a></div><div class="ttdeci">NormalTrafficGenerator(SimulatorGlobals &amp;simulatorGlobals, Scheduler &amp;scheduler, EventType eventType, std::shared_ptr&lt; Entity &gt; tokenContents, std::shared_ptr&lt; Entity &gt; source, std::shared_ptr&lt; Entity &gt; destination, int priority, double mean, double standardDeviation)</div><div class="ttdef"><b>Definition:</b> <a href="_normal_traffic_generator_8cpp_source.html#l00038">NormalTrafficGenerator.cpp:38</a></div></div>
<div class="ttc" id="class_normal_traffic_generator_html_abfa4b83707426afdfdb7f3c830d6827c"><div class="ttname"><a href="class_normal_traffic_generator.html#abfa4b83707426afdfdb7f3c830d6827c">NormalTrafficGenerator::createInstanceTrafficEventPdu</a></div><div class="ttdeci">std::shared_ptr&lt; ProtocolDataUnit &gt; createInstanceTrafficEventPdu(unsigned int pduSize, bool recordRoute=false) override</div><div class="ttdoc">Creates an instance of Normal traffic event with PDU. </div><div class="ttdef"><b>Definition:</b> <a href="_normal_traffic_generator_8cpp_source.html#l00187">NormalTrafficGenerator.cpp:187</a></div></div>
<div class="ttc" id="class_traffic_generator_html_a42261ccf207f61a401473a106bc0bae3"><div class="ttname"><a href="class_traffic_generator.html#a42261ccf207f61a401473a106bc0bae3">TrafficGenerator::simulatorGlobals</a></div><div class="ttdeci">SimulatorGlobals &amp; simulatorGlobals</div><div class="ttdoc">Reference to SimulatorGlobals object, to get random generator info. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00045">TrafficGenerator.h:45</a></div></div>
<div class="ttc" id="class_normal_traffic_generator_html_a5f6e17e292cfb3aab008aa45c65f64d0"><div class="ttname"><a href="class_normal_traffic_generator.html#a5f6e17e292cfb3aab008aa45c65f64d0">NormalTrafficGenerator::standardDeviation</a></div><div class="ttdeci">double standardDeviation</div><div class="ttdoc">Standard deviation of the normal distribution, or sigma. </div><div class="ttdef"><b>Definition:</b> <a href="_normal_traffic_generator_8h_source.html#l00037">NormalTrafficGenerator.h:37</a></div></div>
<div class="ttc" id="class_traffic_generator_html_a84eef27cdbfa66bbf8c14e0128196a62"><div class="ttname"><a href="class_traffic_generator.html#a84eef27cdbfa66bbf8c14e0128196a62">TrafficGenerator::eventType</a></div><div class="ttdeci">EventType eventType</div><div class="ttdoc">Event type that this generator will produce. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00046">TrafficGenerator.h:46</a></div></div>
<div class="ttc" id="class_normal_traffic_generator_html_acab5cd436f7786b81663c6d08cc65187"><div class="ttname"><a href="class_normal_traffic_generator.html#acab5cd436f7786b81663c6d08cc65187">NormalTrafficGenerator::mean</a></div><div class="ttdeci">double mean</div><div class="ttdoc">Mean of the normal distribution, or mu. </div><div class="ttdef"><b>Definition:</b> <a href="_normal_traffic_generator_8h_source.html#l00036">NormalTrafficGenerator.h:36</a></div></div>
<div class="ttc" id="class_traffic_generator_html_acb5d8009cf49ff99a6fee75ec456e166"><div class="ttname"><a href="class_traffic_generator.html#acb5d8009cf49ff99a6fee75ec456e166">TrafficGenerator::tokenContents</a></div><div class="ttdeci">std::shared_ptr&lt; Entity &gt; tokenContents</div><div class="ttdoc">Reference to Entity object that will be carried by the token. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00047">TrafficGenerator.h:47</a></div></div>
<div class="ttc" id="class_normal_traffic_generator_html_ab3c4fe2057fcc782ea29e1242e968b93"><div class="ttname"><a href="class_normal_traffic_generator.html#ab3c4fe2057fcc782ea29e1242e968b93">NormalTrafficGenerator::createInstanceTrafficEvent</a></div><div class="ttdeci">std::shared_ptr&lt; Token &gt; createInstanceTrafficEvent(bool recordRoute=false) override</div><div class="ttdef"><b>Definition:</b> <a href="_normal_traffic_generator_8cpp_source.html#l00072">NormalTrafficGenerator.cpp:72</a></div></div>
<div class="ttc" id="class_traffic_generator_html_a9569cd494b926b84f384c7380349d51a"><div class="ttname"><a href="class_traffic_generator.html#a9569cd494b926b84f384c7380349d51a">TrafficGenerator::scheduler</a></div><div class="ttdeci">Scheduler &amp; scheduler</div><div class="ttdoc">Reference to Scheduler object, such that traffic generators may schedule their events. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00044">TrafficGenerator.h:44</a></div></div>
<div class="ttc" id="class_normal_traffic_generator_html_af01d82d12fa9a38c3ea4470872ad2628"><div class="ttname"><a href="class_normal_traffic_generator.html#af01d82d12fa9a38c3ea4470872ad2628">NormalTrafficGenerator::generateNormalVariate</a></div><div class="ttdeci">double generateNormalVariate()</div><div class="ttdef"><b>Definition:</b> <a href="_normal_traffic_generator_8cpp_source.html#l00156">NormalTrafficGenerator.cpp:156</a></div></div>
<div class="ttc" id="class_simulator_globals_html"><div class="ttname"><a href="class_simulator_globals.html">SimulatorGlobals</a></div><div class="ttdoc">Simulator-scope variables and parameters. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00158">SimulatorGlobals.h:158</a></div></div>
<div class="ttc" id="class_traffic_generator_html_a2158c9e714171e5a04032571021b23c4"><div class="ttname"><a href="class_traffic_generator.html#a2158c9e714171e5a04032571021b23c4">TrafficGenerator::priority</a></div><div class="ttdeci">int priority</div><div class="ttdoc">Token priority. Higher priority, higher number. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00050">TrafficGenerator.h:50</a></div></div>
<div class="ttc" id="_traffic_generator_8h_html"><div class="ttname"><a href="_traffic_generator_8h.html">TrafficGenerator.h</a></div></div>
<div class="ttc" id="class_normal_traffic_generator_html"><div class="ttname"><a href="class_normal_traffic_generator.html">NormalTrafficGenerator</a></div><div class="ttdoc">NormalTrafficGenerator class. </div><div class="ttdef"><b>Definition:</b> <a href="_normal_traffic_generator_8h_source.html#l00034">NormalTrafficGenerator.h:34</a></div></div>
<div class="ttc" id="class_traffic_generator_html"><div class="ttname"><a href="class_traffic_generator.html">TrafficGenerator</a></div><div class="ttdoc">TrafficGenerator parent class. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00042">TrafficGenerator.h:42</a></div></div>
<div class="ttc" id="class_normal_traffic_generator_html_a05e3ebd3e2116b635c233e6eb385e300"><div class="ttname"><a href="class_normal_traffic_generator.html#a05e3ebd3e2116b635c233e6eb385e300">NormalTrafficGenerator::getStandardDeviation</a></div><div class="ttdeci">double getStandardDeviation() const </div><div class="ttdef"><b>Definition:</b> <a href="_normal_traffic_generator_8cpp_source.html#l00175">NormalTrafficGenerator.cpp:175</a></div></div>
<div class="ttc" id="class_traffic_generator_html_a4f69b85034831c2c40e789b0c0e11511"><div class="ttname"><a href="class_traffic_generator.html#a4f69b85034831c2c40e789b0c0e11511">TrafficGenerator::source</a></div><div class="ttdeci">std::shared_ptr&lt; Entity &gt; source</div><div class="ttdoc">Entity to which the generator is attached (to which tokens are generated). </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00048">TrafficGenerator.h:48</a></div></div>
<div class="ttc" id="class_normal_traffic_generator_html_a61f85ab8041283918d9cd81c3bdb2925"><div class="ttname"><a href="class_normal_traffic_generator.html#a61f85ab8041283918d9cd81c3bdb2925">NormalTrafficGenerator::getMean</a></div><div class="ttdeci">double getMean() const </div><div class="ttdef"><b>Definition:</b> <a href="_normal_traffic_generator_8cpp_source.html#l00166">NormalTrafficGenerator.cpp:166</a></div></div>
<div class="ttc" id="class_traffic_generator_html_a6ba09ea9c5df93de64af75886df0b11b"><div class="ttname"><a href="class_traffic_generator.html#a6ba09ea9c5df93de64af75886df0b11b">TrafficGenerator::destination</a></div><div class="ttdeci">std::shared_ptr&lt; Entity &gt; destination</div><div class="ttdoc">Destination entity, to which the generated tokens will be sent. </div><div class="ttdef"><b>Definition:</b> <a href="_traffic_generator_8h_source.html#l00049">TrafficGenerator.h:49</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jan 6 2014 12:30:37 for QCNSim by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
